import request from '@/utils/request'

// 查询留学点赞列表
export function listAbroadapplicationlikes(query) {
  return request({
    url: '/member/otherabroadapplicationlikes/list',
    method: 'get',
    params: query
  })
}

// 查询留学点赞详细
export function getAbroadapplicationlikes(id) {
  return request({
    url: '/member/otherabroadapplicationlikes/' + id,
    method: 'get'
  })
}

// 新增留学点赞
export function addAbroadapplicationlikes(data) {
  return request({
    url: '/member/otherabroadapplicationlikes',
    method: 'post',
    data: data
  })
}

// 修改留学点赞
export function updateAbroadapplicationlikes(data) {
  return request({
    url: '/member/otherabroadapplicationlikes',
    method: 'put',
    data: data
  })
}

// 删除留学点赞
export function delAbroadapplicationlikes(id) {
  return request({
    url: '/member/otherabroadapplicationlikes/' + id,
    method: 'delete'
  })
}

// 导出留学点赞
export function exportAbroadapplicationlikes(query) {
  return request({
    url: '/member/otherabroadapplicationlikes/export',
    method: 'get',
    params: query
  })
}
